package com.capgemini.simpleappblanche.utils;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Component;

@Component
public class SessionTools {

	
	
	/**
	 * invalidate session
	 * @param request HttpServletRequest
	 */
	public void clearSession(HttpServletRequest request){
		request.getSession(true).invalidate();
	}
}
